import { createApp } from 'vue'

import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'

import App from './App.vue'

// 引入路由
import router from './router'

// 引入store
import store from './store'

//重载信息
store.commit('loadInfo')

const app = createApp(App)

// 全局函数
app.config.globalProperties.$test = '全局数据'

app
  .use(router)
  .use(store)
  .use(Antd)
  .mount('#app')
